1129fa3d1SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3129fa3d1SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4129fa3d1SAndrew Rist * or more contributor license agreements. See the NOTICE file 5129fa3d1SAndrew Rist * distributed with this work for additional information 6129fa3d1SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7129fa3d1SAndrew Rist * to you under the Apache License, Version 2.0 (the 8129fa3d1SAndrew Rist * "License"); you may not use this file except in compliance 9129fa3d1SAndrew Rist * with the License. You may obtain a copy of the License at 10129fa3d1SAndrew Rist * 11129fa3d1SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12129fa3d1SAndrew Rist * 13129fa3d1SAndrew Rist * Unless required by applicable law or agreed to in writing, 14129fa3d1SAndrew Rist * software distributed under the License is distributed on an 15129fa3d1SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16129fa3d1SAndrew Rist * KIND, either express or implied. See the License for the 17129fa3d1SAndrew Rist * specific language governing permissions and limitations 18129fa3d1SAndrew Rist * under the License. 19129fa3d1SAndrew Rist * 20129fa3d1SAndrew Rist *************************************************************/ 21129fa3d1SAndrew Rist 22129fa3d1SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #include "precompiled_cppu.hxx" 25cdf0e10cSrcweir #include "sal/config.h" 26cdf0e10cSrcweir 27cdf0e10cSrcweir #include "sal/types.h" 28cdf0e10cSrcweir 29cdf0e10cSrcweir #include "Rec.hpp" 30*4ad76906SDamjan Jovanovic #include "gtest/gtest.h" 31cdf0e10cSrcweir 32cdf0e10cSrcweir namespace 33cdf0e10cSrcweir { 34cdf0e10cSrcweir 35*4ad76906SDamjan Jovanovic class Test: public ::testing::Test { 36cdf0e10cSrcweir 37cdf0e10cSrcweir public: 38cdf0e10cSrcweir }; 39cdf0e10cSrcweir TEST_F(Test,testRecursion)40*4ad76906SDamjan JovanovicTEST_F(Test, testRecursion) { 41*4ad76906SDamjan Jovanovic ASSERT_EQ(static_cast< sal_Int32 >(0), Rec().x.getLength()); 42cdf0e10cSrcweir } 43cdf0e10cSrcweir 44cdf0e10cSrcweir } 45