summaryrefslogtreecommitdiff
path: root/udm
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-18 11:17:16 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-18 11:17:16 +0000
commitbb732c7e8aadae5f3b06c3871718140da1457e2e (patch)
treebe297037608d5e1d5ad5f51588c8c6dd8ba695ef /udm
parent7b0075d0c802f06f97a006b2d80b4c0343c0811c (diff)
bah, this unittest can't be rescued, what it tests is long gone
Diffstat (limited to 'udm')
-rw-r--r--udm/source/unittest/makefile.mk77
-rw-r--r--udm/source/unittest/test.cxx114
2 files changed, 0 insertions, 191 deletions
diff --git a/udm/source/unittest/makefile.mk b/udm/source/unittest/makefile.mk
deleted file mode 100644
index deba241f03bd..000000000000
--- a/udm/source/unittest/makefile.mk
+++ /dev/null
@@ -1,77 +0,0 @@
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2010 Oracle and/or its affiliates.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=..$/..
-
-PRJNAME=cosv
-TARGET=udm_unittest
-TARGETTYPE=CUI
-
-# --- Settings -----------------------------------------------------
-
-ENABLE_EXCEPTIONS=true
-PRJINC=$(PRJ)$/source
-
-.INCLUDE : settings.mk
-.INCLUDE : static.mk
-
-.INCLUDE : $(PRJ)$/source$/mkinc$/fullcpp.mk
-
-
-
-
-# --- Files --------------------------------------------------------
-
-OBJFILES= \
- $(OBJ)$/test.obj
-
-
-
-
-APP1TARGET= $(TARGET)
-APP1STACK= 1000000
-APP1OBJS= $(OBJ)$/test.obj
-
-.IF "$(COMEX)"=="10"
-APP1STDLIBS= $(STATIC_LIBS) cosv.lib
-.ELSE
-APP1STDLIBS= $(STATIC_LIBS) msvcirt.lib cosv.lib
-.ENDIF
-
-
-APP1LIBS= $(LB)$/$(TARGET).lib
-
-
-APP1DEPN= $(LB)$/$(TARGET).lib $(L)$/cosv.lib
-
-
-# --- Targets ------------------------------------------------------
-
-.INCLUDE : target.mk
-
-
-
diff --git a/udm/source/unittest/test.cxx b/udm/source/unittest/test.cxx
deleted file mode 100644
index adfcbeeecae2..000000000000
--- a/udm/source/unittest/test.cxx
+++ /dev/null
@@ -1,114 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-
-
-// NOT FULLY DEFINED SERVICES
-#include <udm/integer_i.hxx>
-#include <udm/string_i.hxx>
-
-using namespace udm;
-
-// TypeSystem aTypeSys;
-
-
-class Function
-{
- public:
-
- intt nId;
-};
-
-class Ctor : public Function
-{
- public:
-
- csv::String sClassName;
-};
-
-class Method : public Function
-{
- public:
-
- csv::String sFunctionName;
- std::vector< std::pair< intt, String > >
- aParameters;
-};
-
-
-class PrObj
-{
- public:
- intt nId;
- csv::String sName;
- std::vector< PrObj* >
- aMethods;
- std::vector< PrObj* >
- aData;
-};
-
-
-
-
-void fx()
-{
- intt n = 5;
- Dyn<Integer_i> px = new Integer_i(n);
- Integer & x = *px;
-
- csv::String s;
- Dyn<String_i> ps = new String_i(s);
- String & xs = *ps;
-
- xs = "Hallo";
-
- int dev01 = 2;
-
- xs = csv::String("Haha");
-
- dev01 = 2;
-
- csv::String s2 = xs;
-
-
- dev01 = 2;
-
-// const char * pc = xs;
-
-
- intt a = x;
- x = 15;
-
- Cout() << a << " " << x << Endl(); // Must be: 5 15
-}
-
-
-
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */