1 --- testtools/source/bridgetest/cli/makefile.mk.old 2009-04-02 11:05:37.000000000 +0000
2 +++ testtools/source/bridgetest/cli/makefile.mk 2009-04-06 16:41:58.000000000 +0000
3 @@ -50,28 +50,25 @@ DLLPRE =
4 CFLAGSENABLESYMBOLS:=-Z7
5 # ------------------------------------------------------------------
7 -#These tests are for Windows only
8 -.IF "$(COM)" == "MSC" && "$(GUI)" == "WNT"
10 -.IF "$(CCNUMVER)" >= "001399999999"
11 -CFLAGSCXX += -clr:oldSyntax -AI $(OUT)$/bin -AI $(SOLARBINDIR)
16 -CFLAGSCXX += -clr -AI $(OUT)$/bin -AI $(SOLARBINDIR)
21 +#.IF "$(CCNUMVER)" >= "001399999999"
22 +#CFLAGSCXX += -clr:oldSyntax -AI $(OUT)$/bin -AI $(SOLARBINDIR)
27 +#CFLAGSCXX += -clr -AI $(OUT)$/bin -AI $(SOLARBINDIR)
32 $(SLO)$/cli_cpp_bridgetest.obj
34 -SHL1OBJS = $(SLOFILES)
35 +#SHL1OBJS = $(SLOFILES)
37 -SHL1TARGET = $(TARGET)
38 +#SHL1TARGET = $(TARGET)
40 -SHL1DEF = $(MISC)$/$(SHL1TARGET).def
41 -DEF1NAME = $(SHL1TARGET)
42 +#SHL1DEF = $(MISC)$/$(SHL1TARGET).def
43 +#DEF1NAME = $(SHL1TARGET)
47 @@ -92,7 +89,7 @@ CLI_CPPUHELPER = $(SOLARBINDIR)$/cli_cpp
48 CLI_OOOTYPES = $(SOLARBINDIR)$/cli_oootypes.dll
49 CLI_TYPES_BRIDGETEST = $(BIN)$/cli_types_bridgetest.dll
51 -CSCFLAGS = -warnaserror+
53 .IF "$(CCNUMVER)" <= "001399999999"
54 VBC_FLAGS = -warnaserror+
56 @@ -149,8 +146,7 @@ $(BIN)$/cli_vb_bridgetest.uno.dll : \
57 -reference:$(CLI_TYPES_BRIDGETEST) \
58 -reference:System.dll \
59 -reference:System.Drawing.dll \
60 - -reference:System.Windows.Forms.dll \
61 - cli_vb_bridgetest.vb
62 + -reference:System.Windows.Forms.dll
64 $(BIN)$/cli_vb_testobj.uno.dll : \
66 @@ -181,9 +177,6 @@ $(BIN)$/cli_bridgetest_inprocess.exe : \
67 cli_bridgetest_inprocess.cs \
68 $(BIN)$/cli_cs_bridgetest.uno.dll \
69 $(BIN)$/cli_cs_testobj.uno.dll \
70 - $(BIN)$/cli_vb_bridgetest.uno.dll \
71 - $(BIN)$/cli_vb_testobj.uno.dll \
72 - $(BIN)$/cli_cpp_bridgetest.uno.dll \
73 $(MISC)$/copyassemblies.done \
76 @@ -197,11 +190,7 @@ $(BIN)$/cli_bridgetest_inprocess.exe : \
77 -reference:$(CLI_CPPUHELPER) \
78 -reference:$(BIN)$/cli_cs_bridgetest.uno.dll \
79 -reference:$(BIN)$/cli_cs_testobj.uno.dll \
80 - -reference:$(BIN)$/cli_vb_bridgetest.uno.dll \
81 - -reference:$(BIN)$/cli_vb_testobj.uno.dll \
82 - -reference:$(BIN)$/cli_cpp_bridgetest.uno.dll \
83 cli_bridgetest_inprocess.cs
84 $(GNUCOPY) cli_bridgetest_inprocess.ini $(BIN)
88 --- testtools/source/bridgetest/cli/cli_bridgetest_inprocess.cs.old 2009-04-02 11:05:37.000000000 +0000
89 +++ testtools/source/bridgetest/cli/cli_bridgetest_inprocess.cs 2009-04-06 16:41:58.000000000 +0000
90 @@ -130,26 +130,14 @@ public class BridgeTest
92 typeof (XSingleComponentFactory),
94 - typeof (vb_testobj.VBBridgeTestObject),
95 - "com.sun.star.test.bridge.cli_uno.VbTestObject" ) ) );
98 - typeof (XSingleComponentFactory),
100 - typeof (cpp_bridgetest.BridgeTest),
101 - "com.sun.star.test.bridge.cli_uno.CppBridgeTest" ) ) );
104 - typeof (XSingleComponentFactory),
106 typeof (cs_testobj.BridgeTest),
107 "com.sun.star.test.bridge.cli_uno.CsBridgeTest" ) ) );
110 - typeof (XSingleComponentFactory),
112 - typeof (vb_bridetest.BridgeTest),
113 - "com.sun.star.test.bridge.cli_uno.VbBridgeTest" ) ) );
117 + "\n[cli bridgetest] C# client calls C# object [hack]");
118 + cs_testobj.BridgeTest.perform_test (new cs_testobj.BridgeTestObject( xContext ));
122 // direct unbridged test
123 @@ -205,7 +193,7 @@ public class BridgeTest
124 // -s com.sun.star.test.bridge.cli_uno.VbBridgeTest
125 // -- com.sun.star.test.bridge.CppTestObject
129 xContext.getServiceManager().createInstanceWithContext(
130 "com.sun.star.test.bridge.cli_uno.VbBridgeTest",
132 @@ -214,7 +202,7 @@ public class BridgeTest
133 "\n[cli bridgetest] 4. Visual Basic client calls C++ (native) object" );
134 // run with native target object
136 - new String [] { "com.sun.star.test.bridge.CppTestObject" } );
137 + new String [] { "com.sun.star.test.bridge.CppTestObject" } ); */
140 // uno -ro uno_services.rdb -ro uno_types.rdb
141 @@ -237,7 +225,7 @@ public class BridgeTest
142 // uno -ro uno_services.rdb -ro uno_types.rdb
143 // -s com.sun.star.test.bridge.cli_uno.CppBridgeTest
144 // -- com.sun.star.test.bridge.CppTestObject
147 xContext.getServiceManager().createInstanceWithContext(
148 "com.sun.star.test.bridge.cli_uno.CppBridgeTest",
150 @@ -246,7 +234,7 @@ public class BridgeTest
151 "\n[cli bridgetest] 6. CLI C++ client calls C++ object (native)");
152 // run with native target object
154 - new String [] { "com.sun.star.test.bridge.CppTestObject" } );
155 + new String [] { "com.sun.star.test.bridge.CppTestObject" } );*/
158 catch (System.Exception exc)
159 --- testtools/source/bridgetest/cli/cli_bridgetest_inprocess.ini.old 2009-04-02 11:05:37.000000000 +0000
160 +++ testtools/source/bridgetest/cli/cli_bridgetest_inprocess.ini 2009-04-06 16:41:58.000000000 +0000
163 -UNO_TYPES=$SYSBINDIR/uno_types.rdb
164 -UNO_SERVICES=$SYSBINDIR/uno_services.rdb
165 +UNO_TYPES=uno_types.rdb
166 +UNO_SERVICES=uno_services.rdb