From 688eda8b55b57b711020148c5b048de7c06d1744 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 1 Sep 2016 20:46:19 +0100 Subject: Fix case of filenames of "text" files used to generate protocols and docs. --- test/basicserver/Makefile.extra | 6 +++--- test/basicserver/TestProtocol.txt | 42 +++++++++++++++++++++++++++++++++++++++ test/basicserver/testprotocol.txt | 42 --------------------------------------- 3 files changed, 45 insertions(+), 45 deletions(-) create mode 100644 test/basicserver/TestProtocol.txt delete mode 100644 test/basicserver/testprotocol.txt (limited to 'test') diff --git a/test/basicserver/Makefile.extra b/test/basicserver/Makefile.extra index e6a4675e..4b21d37d 100644 --- a/test/basicserver/Makefile.extra +++ b/test/basicserver/Makefile.extra @@ -1,12 +1,12 @@ MAKEPROTOCOL = ../../lib/server/makeprotocol.pl -GEN_CMD = $(MAKEPROTOCOL) testprotocol.txt +GEN_CMD = $(MAKEPROTOCOL) TestProtocol.txt # AUTOGEN SEEDING -autogen_TestProtocol.cpp: $(MAKEPROTOCOL) testprotocol.txt +autogen_TestProtocol.cpp: $(MAKEPROTOCOL) TestProtocol.txt $(_PERL) $(GEN_CMD) -autogen_TestProtocolServer.h: $(MAKEPROTOCOL) testprotocol.txt +autogen_TestProtocolServer.h: $(MAKEPROTOCOL) TestProtocol.txt $(_PERL) $(GEN_CMD) diff --git a/test/basicserver/TestProtocol.txt b/test/basicserver/TestProtocol.txt new file mode 100644 index 00000000..5bca9f49 --- /dev/null +++ b/test/basicserver/TestProtocol.txt @@ -0,0 +1,42 @@ +# test protocol file + +Name Test +IdentString Test-0.00 +ServerContextClass TestContext TestContext.h + +BEGIN_OBJECTS + +Error 0 IsError(Type,SubType) Reply + int32 Type + int32 SubType + +Hello 1 Command(Hello) Reply + int32 Number32 + int16 Number16 + int8 Number8 + string Text + +Lists 2 Command(ListsReply) + vector LotsOfText + +ListsReply 3 Reply + int32 NumberOfStrings + +Quit 4 Command(Quit) Reply EndsConversation + +Simple 5 Command(SimpleReply) + int32 Value + +SimpleReply 6 Reply + int32 ValuePlusOne + +GetStream 7 Command(GetStream) Reply + int32 StartingValue + bool UncertainSize + +SendStream 8 Command(GetStream) StreamWithCommand + int64 Value + +String 9 Command(String) Reply + string Test + diff --git a/test/basicserver/testprotocol.txt b/test/basicserver/testprotocol.txt deleted file mode 100644 index 5bca9f49..00000000 --- a/test/basicserver/testprotocol.txt +++ /dev/null @@ -1,42 +0,0 @@ -# test protocol file - -Name Test -IdentString Test-0.00 -ServerContextClass TestContext TestContext.h - -BEGIN_OBJECTS - -Error 0 IsError(Type,SubType) Reply - int32 Type - int32 SubType - -Hello 1 Command(Hello) Reply - int32 Number32 - int16 Number16 - int8 Number8 - string Text - -Lists 2 Command(ListsReply) - vector LotsOfText - -ListsReply 3 Reply - int32 NumberOfStrings - -Quit 4 Command(Quit) Reply EndsConversation - -Simple 5 Command(SimpleReply) - int32 Value - -SimpleReply 6 Reply - int32 ValuePlusOne - -GetStream 7 Command(GetStream) Reply - int32 StartingValue - bool UncertainSize - -SendStream 8 Command(GetStream) StreamWithCommand - int64 Value - -String 9 Command(String) Reply - string Test - -- cgit v1.2.3