title: GoogleTest: Accessing GetParam in SetUp if the test is non-parameterised
body: <p>I have a SetUp method that checks GetParam() value. Something like:</p>
  
  <pre><code>void Tests::SetUp() {
      if (GetParam().data == x) {
          do_something;
      }
  }
  </code></pre>
  
  <p>However, some of my tests are P_TESTs, and some are F_TESTs. The F_TESTs do not have a parameter, so I get a segmentation fault when SetUp is called for these tests, as GetParam().data cannot be read!</p>
  
  <p>Is there a way to check that the test has a parameter from inside of the SetUp method?</p>
  
  <p>Thanks.</p>