Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
5b54bb6c
Kaydet (Commit)
5b54bb6c
authored
Kas 06, 2006
tarafından
Kurt Zenker
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS jsc14 (1.3.40); FILE MERGED
2006/10/25 13:51:06 jsc 1.3.40.1: #i69727# adapt and simplify tests
üst
28cc9529
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
139 deletions
+31
-139
attribute.tests
idlc/test/parser/attribute.tests
+29
-110
methodoverload.tests
idlc/test/parser/methodoverload.tests
+2
-29
No files found.
idlc/test/parser/attribute.tests
Dosyayı görüntüle @
5b54bb6c
...
...
@@ -4,9 +4,9 @@
#
# $RCSfile: attribute.tests,v $
#
# $Revision: 1.
3
$
# $Revision: 1.
4
$
#
# last change: $Author:
rt $ $Date: 2005-09-07 18:17:00
$
# last change: $Author:
kz $ $Date: 2006-11-06 14:41:01
$
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
...
...
@@ -34,28 +34,19 @@
#*************************************************************************
EXPECT SUCCESS "attribute.tests 1":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface X {
interface I1 {
[attribute] long a;
};
EXPECT SUCCESS "attribute.tests 2":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface X {
interface I1 {
[attribute] long a {};
};
EXPECT FAILURE "attribute.tests 3":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface X {
interface I1 {
[attribute] long a {
get raises ();
};
...
...
@@ -63,11 +54,8 @@ interface X {
EXPECT SUCCESS "attribute.tests 4":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
exception E1 {};
interface
X
{
interface
I1
{
[attribute] long a {
get raises (E1);
};
...
...
@@ -75,11 +63,8 @@ interface X {
EXPECT SUCCESS "attribute.tests 5":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
exception E1 {};
interface
X
{
interface
I1
{
[attribute] long a {
set raises (E1);
};
...
...
@@ -87,11 +72,8 @@ interface X {
EXPECT SUCCESS "attribute.tests 6":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
exception E1 {};
interface
X
{
interface
I1
{
[attribute] long a {
get raises (E1);
set raises (E1);
...
...
@@ -100,11 +82,8 @@ interface X {
EXPECT SUCCESS "attribute.tests 7":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
exception E1 {};
interface
X
{
interface
I1
{
[attribute] long a {
set raises (E1);
get raises (E1);
...
...
@@ -113,11 +92,8 @@ interface X {
EXPECT FAILURE "attribute.tests 8":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
exception E1 {};
interface
X
{
interface
I1
{
[attribute] long a {
get raises (E1);
get raises (E1);
...
...
@@ -126,11 +102,8 @@ interface X {
EXPECT FAILURE "attribute.tests 9":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
exception E1 {};
interface
X
{
interface
I1
{
void E1();
[attribute] long a {
get raises (E1);
...
...
@@ -139,11 +112,8 @@ interface X {
EXPECT FAILURE "attribute.tests 10":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
exception E1 {};
interface
X
{
interface
I1
{
[attribute] long E1 {
get raises (E1);
};
...
...
@@ -151,11 +121,8 @@ interface X {
EXPECT SUCCESS "attribute.tests 11":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
exception E1 {};
interface
X
{
interface
I1
{
[attribute] long a {
get raises (E1,E1);
};
...
...
@@ -163,11 +130,8 @@ interface X {
EXPECT SUCCESS "attribute.tests 12":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
exception E1 {};
interface
X
{
interface
I1
{
[attribute, readonly] long a {
get raises (E1);
};
...
...
@@ -175,11 +139,8 @@ interface X {
EXPECT FAILURE "attribute.tests 13":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
exception E1 {};
interface
X
{
interface
I1
{
[attribute, readonly] long a {
set raises (E1);
};
...
...
@@ -187,126 +148,84 @@ interface X {
EXPECT FAILURE "attribute.tests 14":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface X {
interface I1 {
[] long a;
};
EXPECT SUCCESS "attribute.tests 15":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface X {
interface I1 {
[attribute] long a;
};
EXPECT FAILURE "attribute.tests 16":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface X {
interface I1 {
[attribute, property] long a;
};
EXPECT FAILURE "attribute.tests 17":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface X {
interface I1 {
[attribute, optional] long a;
};
EXPECT FAILURE "attribute.tests 18":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface X {
interface I1 {
[attribute, maybevoid] long a;
};
EXPECT FAILURE "attribute.tests 19":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface X {
interface I1 {
[attribute, constrained] long a;
};
EXPECT FAILURE "attribute.tests 20":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface X {
interface I1 {
[attribute, transient] long a;
};
EXPECT FAILURE "attribute.tests 21":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface X {
interface I1 {
[attribute, maybeambigious] long a;
};
EXPECT FAILURE "attribute.tests 22":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface X {
interface I1 {
[attribute, maybedefault] long a;
};
EXPECT FAILURE "attribute.tests 23":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface X {
interface I1 {
[attribute, removeable] long a;
};
EXPECT SUCCESS "attribute.tests 24":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface X {
interface I1 {
[attribute, bound] long a;
};
EXPECT SUCCESS "attribute.tests 25":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface X {
interface I1 {
[bound, attribute] long a;
};
EXPECT SUCCESS "attribute.tests 26":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface X {
interface I1 {
[attribute, readonly] long a;
};
EXPECT SUCCESS "attribute.tests 27":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface X {
interface I1 {
[attribute, bound, readonly] long a;
};
idlc/test/parser/methodoverload.tests
Dosyayı görüntüle @
5b54bb6c
...
...
@@ -4,9 +4,9 @@
#
# $RCSfile: methodoverload.tests,v $
#
# $Revision: 1.
3
$
# $Revision: 1.
4
$
#
# last change: $Author:
rt $ $Date: 2005-09-07 18:18:33
$
# last change: $Author:
kz $ $Date: 2006-11-06 14:41:44
$
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
...
...
@@ -34,9 +34,6 @@
#*************************************************************************
EXPECT FAILURE "methodoverload.tests 1":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface Derived {
void f();
void f();
...
...
@@ -44,9 +41,6 @@ interface Derived {
EXPECT FAILURE "methodoverload.tests 2":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface Base {
void f();
};
...
...
@@ -57,9 +51,6 @@ interface Derived {
EXPECT FAILURE "methodoverload.tests 3":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface Base {
void f();
};
...
...
@@ -70,9 +61,6 @@ interface Derived {
EXPECT FAILURE "methodoverload.tests 4":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface Base {
void f();
};
...
...
@@ -83,9 +71,6 @@ interface Derived {
EXPECT FAILURE "methodoverload.tests 5":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface Base {
void f();
};
...
...
@@ -96,9 +81,6 @@ interface Derived {
EXPECT FAILURE "methodoverload.tests 6":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface Base1 {
void f();
};
...
...
@@ -112,9 +94,6 @@ interface Derived {
EXPECT FAILURE "methodoverload.tests 7":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface Base1 {
void f();
};
...
...
@@ -128,9 +107,6 @@ interface Derived {
EXPECT FAILURE "methodoverload.tests 8":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface Base1 {
void f();
};
...
...
@@ -144,9 +120,6 @@ interface Derived {
EXPECT SUCCESS "methodoverload.tests 9":
module com { module sun { module star { module uno {
interface XInterface {};
}; }; }; };
interface Base1 {
void f();
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment