Exemplo n.º 1
0
        public void TestLookupOEStringsLeg()
        {
            var res = OxTools.GetOEStringsForKey("Lnr", OxTools.SourceProgram.OS);

            Assert.IsTrue(res.Contains("Lnr"));
            Assert.IsTrue(res.Contains("Leg"));
            Assert.IsTrue(res.Contains("Osuus"));
            Assert.IsTrue(res.Contains("Sträcka"));
        }
Exemplo n.º 2
0
        public void TestLookupOEStringsText()
        {
            var res = OxTools.GetOEStringsForKey("Text", OxTools.SourceProgram.OE);

            Assert.IsTrue(res.Contains("Text"));

            res = OxTools.GetOEStringsForKey("Text", OxTools.SourceProgram.OS);

            Assert.IsTrue(res.Contains("Text"));
        }
Exemplo n.º 3
0
        public void TestLookupOEStringsClub()
        {
            var res = OxTools.GetOEStringsForKey("Ort", OxTools.SourceProgram.OE);

            Assert.IsTrue(res.Contains("Ort"));
            Assert.IsTrue(res.Contains("City"));

            res = OxTools.GetOEStringsForKey("Staffel", OxTools.SourceProgram.OS);
            Assert.IsTrue(res.Contains("Staffel"));
            Assert.IsTrue(res.Contains("Team"));
            Assert.IsTrue(res.Contains("Lag"));
            Assert.IsTrue(res.Contains("Joukkue"));
        }
Exemplo n.º 4
0
        public void TestLookupOEStringsStNo()
        {
            var res = OxTools.GetOEStringsForKey("Stnr", OxTools.SourceProgram.OE);

            Assert.IsTrue(res.Contains("Stno"));
            Assert.IsTrue(res.Contains("Lnro"));
            Assert.IsTrue(res.Contains("Stnr"));
            Assert.IsTrue(res.Contains("Startnr"));

            res = OxTools.GetOEStringsForKey("Stnr", OxTools.SourceProgram.OS);
            Assert.IsTrue(res.Contains("Stno"));
            Assert.IsTrue(res.Contains("Lnro"));
            Assert.IsTrue(res.Contains("Stnr"));
            Assert.IsTrue(res.Contains("Startnr"));
        }
Exemplo n.º 5
0
        public void TestLookupOEStringsLastName()
        {
            var res = OxTools.GetOEStringsForKey("Nachname", OxTools.SourceProgram.OE);

            Assert.IsTrue(res.Contains("Nachname"));
            Assert.IsTrue(res.Contains("Surname"));
            Assert.IsTrue(res.Contains("Sukunimi"));
            Assert.IsTrue(res.Contains("Efternamn"));

            res = OxTools.GetOEStringsForKey("Nachname", OxTools.SourceProgram.OS);

            Assert.IsTrue(res.Contains("Nachname"));
            Assert.IsTrue(res.Contains("Surname"));
            Assert.IsTrue(res.Contains("Sukunimi"));
            Assert.IsTrue(res.Contains("Efternamn"));
        }
Exemplo n.º 6
0
        public void TestLookupOEStringsFirstName()
        {
            var res = OxTools.GetOEStringsForKey("Vorname", OxTools.SourceProgram.OE);

            Assert.IsTrue(res.Contains("Vorname"));
            Assert.IsTrue(res.Contains("First name"));
            Assert.IsTrue(res.Contains("Etunimi"));
            Assert.IsTrue(res.Contains("Förnamn"));

            res = OxTools.GetOEStringsForKey("Vorname", OxTools.SourceProgram.OS);

            Assert.IsTrue(res.Contains("Vorname"));
            Assert.IsTrue(res.Contains("First name"));
            Assert.IsTrue(res.Contains("Etunimi"));
            Assert.IsTrue(res.Contains("Förnamn"));
        }
Exemplo n.º 7
0
        public void TestLookupOEStringsTotalTime()
        {
            var res = OxTools.GetOEStringsForKey("Gesamtzeit", OxTools.SourceProgram.OE);

            Assert.IsTrue(res.Contains("Gesamtzeit"));
            Assert.IsTrue(res.Contains("Total tid"));
            Assert.IsTrue(res.Contains("Kokonaisaika"));
            Assert.IsTrue(res.Contains("Overall time"));

            res = OxTools.GetOEStringsForKey("Gesamtzeit", OxTools.SourceProgram.OS);

            Assert.IsTrue(res.Contains("Gesamtzeit"));
            Assert.IsTrue(res.Contains("Total tid"));
            Assert.IsTrue(res.Contains("Kokonaisaika"));
            Assert.IsTrue(res.Contains("Overall time"));
        }
Exemplo n.º 8
0
        public void TestLookupOEStringsStatus()
        {
            var res = OxTools.GetOEStringsForKey("Wertung", OxTools.SourceProgram.OE);

            Assert.IsTrue(res.Contains("Wertung"));
            Assert.IsTrue(res.Contains("Classifier"));
            Assert.IsTrue(res.Contains("Tila"));
            Assert.IsTrue(res.Contains("Status"));

            res = OxTools.GetOEStringsForKey("Wertung", OxTools.SourceProgram.OS);

            Assert.IsTrue(res.Contains("Wertung"));
            Assert.IsTrue(res.Contains("Classifier"));
            Assert.IsTrue(res.Contains("Tila"));
            Assert.IsTrue(res.Contains("Status"));
        }
Exemplo n.º 9
0
        public void TestLookupOEStringsTime()
        {
            var res = OxTools.GetOEStringsForKey("Zeit", OxTools.SourceProgram.OE);

            Assert.IsTrue(res.Contains("Zeit"));
            Assert.IsTrue(res.Contains("Time"));
            Assert.IsTrue(res.Contains("Aika"));
            Assert.IsTrue(res.Contains("Tid"));

            res = OxTools.GetOEStringsForKey("Zeit", OxTools.SourceProgram.OS);

            Assert.IsTrue(res.Contains("Zeit"));
            Assert.IsTrue(res.Contains("Time"));
            Assert.IsTrue(res.Contains("Aika"));
            Assert.IsTrue(res.Contains("Tid"));
        }
Exemplo n.º 10
0
        public void TestLookupOEStringsFinish()
        {
            var res = OxTools.GetOEStringsForKey("Ziel", OxTools.SourceProgram.OE);

            Assert.IsTrue(res.Contains("Ziel"));
            Assert.IsTrue(res.Contains("Finish"));
            Assert.IsTrue(res.Contains("Maali"));
            Assert.IsTrue(res.Contains("Mål"));

            res = OxTools.GetOEStringsForKey("Ziel", OxTools.SourceProgram.OS);

            Assert.IsTrue(res.Contains("Ziel"));
            Assert.IsTrue(res.Contains("Finish"));
            Assert.IsTrue(res.Contains("Maali"));
            Assert.IsTrue(res.Contains("Mål"));
        }
Exemplo n.º 11
0
        public void TestLookupOEStringsCLass()
        {
            var res = OxTools.GetOEStringsForKey("Kurz", OxTools.SourceProgram.OE);

            Assert.IsTrue(res.Contains("Kurz"));
            Assert.IsTrue(res.Contains("Short"));
            Assert.IsTrue(res.Contains("Lyhyt"));
            Assert.IsTrue(res.Contains("Kort"));

            res = OxTools.GetOEStringsForKey("Kurz", OxTools.SourceProgram.OS);

            Assert.IsTrue(res.Contains("Kurz"));
            Assert.IsTrue(res.Contains("Short"));
            Assert.IsTrue(res.Contains("Lyhyt"));
            Assert.IsTrue(res.Contains("Kort"));
        }
Exemplo n.º 12
0
        public void TestLookupOEStringsChipNo()
        {
            var res = OxTools.GetOEStringsForKey("Chipnr", OxTools.SourceProgram.OE);

            Assert.IsTrue(res.Contains("Chipnr"));
            Assert.IsTrue(res.Contains("Chipno"));
            Assert.IsTrue(res.Contains("Korttinro"));
            Assert.IsTrue(res.Contains("Bricknr"));
            Assert.IsTrue(res.Contains("Chip"));

            res = OxTools.GetOEStringsForKey("ChipNr", OxTools.SourceProgram.OS);

            Assert.IsTrue(res.Contains("ChipNr"));
            Assert.IsTrue(res.Contains("Chipno"));
            Assert.IsTrue(res.Contains("Korttinro"));
            Assert.IsTrue(res.Contains("Bricknr"));
            Assert.IsTrue(res.Contains("Chip"));
        }