mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-1090 Test data for empty resource bundle
X-SVN-Rev: 5528
This commit is contained in:
parent
95fdeab5da
commit
9549c37034
3 changed files with 14 additions and 2 deletions
2
icu4c/source/test/testdata/testdata.mk
vendored
2
icu4c/source/test/testdata/testdata.mk
vendored
|
@ -13,7 +13,7 @@
|
|||
ALL : "$(TESTDATAOUT)\testdata.dat"
|
||||
@echo Test data is built.
|
||||
|
||||
"$(TESTDATAOUT)\testdata.dat" : "$(TESTDATAOUT)\root.res" "$(TESTDATAOUT)\te.res" "$(TESTDATAOUT)\te_IN.res" "$(TESTDATAOUT)\testtypes.res" "$(TESTDATAOUT)\empty.res" $(TESTDATAOUT)test.dat
|
||||
"$(TESTDATAOUT)\testdata.dat" : "$(TESTDATAOUT)\root.res" "$(TESTDATAOUT)\te.res" "$(TESTDATAOUT)\te_IN.res" "$(TESTDATAOUT)\testtypes.res" "$(TESTDATAOUT)\testempty.res" "$(TESTDATAOUT)\empty.res" $(TESTDATAOUT)test.dat
|
||||
@echo Building test data
|
||||
@"$(ICUTOOLS)\pkgdata\$(CFG)\pkgdata" -v -m common -c -p testdata -O "$(PKGOPT)" -d "$(TESTDATAOUT)" -T "$(TESTDATAOUT)" -s "$(TESTDATAOUT)" <<
|
||||
root.res
|
||||
|
|
10
icu4c/source/test/testdata/testempty.txt
vendored
Normal file
10
icu4c/source/test/testdata/testempty.txt
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
//*******************************************************************************
|
||||
//*
|
||||
//* Copyright (C) 1998-2000, International Business Machines
|
||||
//* Corporation and others. All Rights Reserved.
|
||||
//*
|
||||
//*******************************************************************************
|
||||
// empty resource bundle test
|
||||
testempty{
|
||||
|
||||
}
|
4
icu4c/source/test/testdata/testtypes.txt
vendored
4
icu4c/source/test/testdata/testtypes.txt
vendored
|
@ -25,7 +25,9 @@ testtypes
|
|||
emptybin:bin { "" }
|
||||
emptyint:int { "" }
|
||||
emptytable:table { }
|
||||
emptyarray:array { }
|
||||
emptyarray:array
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue