aboutsummaryrefslogtreecommitdiffstats
path: root/configserver
diff options
context:
space:
mode:
authorHarald Musum <musum@verizonmedia.com>2019-07-29 09:29:44 +0200
committerHarald Musum <musum@verizonmedia.com>2019-07-29 09:29:44 +0200
commit8a116cd8be0615f41fa7dca7919fdd4f8aa794a1 (patch)
tree390bbafed86fb87ba7b87526f1f7eef003274cea /configserver
parent549e62591ae980aa610bdb08afa77a198fc07c6b (diff)
Remove unused files
Diffstat (limited to 'configserver')
-rw-r--r--configserver/src/test/resources/configdefinitions/datastructures.def8
-rw-r--r--configserver/src/test/resources/configdefinitions/function-test.def53
-rw-r--r--configserver/src/test/resources/configdefinitions/unicode.def5
3 files changed, 0 insertions, 66 deletions
diff --git a/configserver/src/test/resources/configdefinitions/datastructures.def b/configserver/src/test/resources/configdefinitions/datastructures.def
deleted file mode 100644
index 79b3a8e77a0..00000000000
--- a/configserver/src/test/resources/configdefinitions/datastructures.def
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-namespace=config
-
-date[] string
-
-stock[].ticker string
-stock[].type enum { COMMON, ETF, ETC } default=COMMON
-stock[].volume[] int
diff --git a/configserver/src/test/resources/configdefinitions/function-test.def b/configserver/src/test/resources/configdefinitions/function-test.def
deleted file mode 100644
index b2a27c42285..00000000000
--- a/configserver/src/test/resources/configdefinitions/function-test.def
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#
-# This def file should test most aspects of def files that makes a difference
-# for the autogenerated config classes. The goal is to trigger all blocks of
-# code in the code generators. This includes:
-#
-# - Use all legal special characters in the def file name, to ensure that those
-# that needs to be replaced in type names are actually replaced.
-# - Use the same enum type twice to verify that we dont declare or define it
-# twice.
-# - Use the same struct type twice for the same reason.
-# - Include arrays of primitives and structs.
-# - Include enum primitives and array of enums. Arrays of enums must be handled
-# specially by the C++ code.
-# - Include enums both with and without default values.
-# - Include primitive string, numbers & doubles both with and without default
-# values.
-# - Have an array within a struct, to verify that we correctly recurse.
-# - Reuse type name further within to ensure that this works.
-
-namespace=config
-
-# Some random bool without a default value. These comments exist to check
- # that comment parsing works.
-bool_val bool
- ## A bool with a default value set.
-bool_with_def bool default=false
-int_val int
-int_with_def int default=-545
-double_val double
-double_with_def double default=-6.43
-# Another comment
-string_val string
-stringwithdef string default="foobar"
-enum_val enum { FOO, BAR, FOOBAR }
-enumwithdef enum { FOO2, BAR2, FOOBAR2 } default=BAR2
-refval reference
-refwithdef reference default=":parent:"
-
-boolarr[] bool
-intarr[] int
-doublearr[] double
-stringarr[] string
-enumarr[] enum { ARRAY, VALUES }
-refarr[] reference
-
-
-myarray[].intval int default=14
-myarray[].stringval[] string
-myarray[].enumval enum { INNER, ENUM, TYPE } default=TYPE
-myarray[].refval reference # Value in array without default
-myarray[].anotherarray[].foo int default=-4
-
diff --git a/configserver/src/test/resources/configdefinitions/unicode.def b/configserver/src/test/resources/configdefinitions/unicode.def
deleted file mode 100644
index e3b93671e99..00000000000
--- a/configserver/src/test/resources/configdefinitions/unicode.def
+++ /dev/null
@@ -1,5 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-namespace=config
-
-unicodestring1 string
-unicodestring2 string default="abc æøå 囲碁 ÆØÅ ABC"