[Libreoffice-commits] .: udm/source

Caolán McNamara caolan at kemper.freedesktop.org
Tue Jan 18 03:17:24 PST 2011


 udm/source/unittest/makefile.mk |   77 ---------------------------
 udm/source/unittest/test.cxx    |  114 ----------------------------------------
 2 files changed, 191 deletions(-)

New commits:
commit a6fed410df5c8be6f2aeb49a8a0f9c3066202cb7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Jan 18 11:17:16 2011 +0000

    bah, this unittest can't be rescued, what it tests is long gone

diff --git a/udm/source/unittest/makefile.mk b/udm/source/unittest/makefile.mk
deleted file mode 100644
index deba241..0000000
--- 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 fb1aa09..0000000
--- 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: */


More information about the Libreoffice-commits mailing list