Only target iPhone for LinphoneTester

This commit is contained in:
Guillaume BIENKOWSKI 2014-12-01 14:22:25 +01:00
parent aa66b5ae95
commit 07a8a00c3f
3 changed files with 13 additions and 83 deletions

View file

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="5056" systemVersion="13D65" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="rS3-R9-Ivy">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6250" systemVersion="14A389" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="rS3-R9-Ivy">
<dependencies>
<deployment defaultVersion="1536" identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6244"/>
</dependencies>
<scenes>
<!--Navigation Controller-->
@ -20,7 +20,7 @@
</objects>
<point key="canvasLocation" x="-1" y="64"/>
</scene>
<!--Master View Controller - Master-->
<!--Master-->
<scene sceneID="VgW-fR-Quf">
<objects>
<tableViewController title="Master" id="pGg-6v-bdr" customClass="MasterViewController" sceneMemberID="viewController">
@ -57,27 +57,13 @@
<outlet property="delegate" destination="pGg-6v-bdr" id="Y6K-Cp-Qkv"/>
</connections>
</tableView>
<navigationItem key="navigationItem" title="List of Categories" id="tQt-TN-PWz">
<barButtonItem key="rightBarButtonItem" style="plain" id="OR9-bC-Hrz">
<button key="customView" opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="W17-XV-pa2">
<rect key="frame" x="233" y="5" width="71" height="33"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<state key="normal" title="Logs">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<connections>
<segue destination="iOM-9A-Idi" kind="push" identifier="viewLogs" id="vec-9D-8FU"/>
</connections>
</button>
</barButtonItem>
</navigationItem>
<navigationItem key="navigationItem" title="List of Categories" id="tQt-TN-PWz"/>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="6Cn-md-YlS" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="459" y="64"/>
</scene>
<!--Detail View Controller - Detail-->
<!--Detail-->
<scene sceneID="Cn3-H9-jdl">
<objects>
<viewController title="Detail" id="Ah7-4n-0Wa" customClass="DetailViewController" sceneMemberID="viewController">
@ -105,78 +91,16 @@
</tableViewCell>
</prototypes>
</tableView>
<navigationItem key="navigationItem" title="Tests" id="cra-N8-TIN">
<barButtonItem key="rightBarButtonItem" style="plain" id="4Up-P9-XMd">
<button key="customView" opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="V3v-ch-Eo9">
<rect key="frame" x="233" y="5" width="71" height="33"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<state key="normal" title="Logs">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<connections>
<segue destination="iOM-9A-Idi" kind="push" identifier="viewLogs" id="iv2-SW-SW7"/>
</connections>
</button>
</barButtonItem>
</navigationItem>
<navigationItem key="navigationItem" title="Tests" id="cra-N8-TIN"/>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="lrm-kH-fPn" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1002" y="78"/>
</scene>
<!--Logs View Controller - Logs-->
<scene sceneID="Lco-sG-mtf">
<objects>
<viewController title="Logs" id="iOM-9A-Idi" customClass="LogsViewController" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="iFS-21-xSV"/>
<viewControllerLayoutGuide type="bottom" id="cJF-a0-78o"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="vw6-4p-QJ4">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" fixedFrame="YES" editable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YSt-fg-hE2">
<rect key="frame" x="0.0" y="-10" width="320" height="588"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits" autocorrectionType="no"/>
</textView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
</view>
<navigationItem key="navigationItem" id="UYk-Px-ln1">
<barButtonItem key="rightBarButtonItem" style="plain" id="6Iq-1U-z3C">
<button key="customView" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="hhf-hV-LBt">
<rect key="frame" x="233" y="5" width="71" height="33"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<state key="normal" title="Clear">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<connections>
<action selector="clearLogs:" destination="iOM-9A-Idi" eventType="touchUpInside" id="A6e-Rk-6VP"/>
</connections>
</button>
</barButtonItem>
</navigationItem>
<connections>
<outlet property="tview" destination="YSt-fg-hE2" id="AQo-QT-bvB"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="laq-GV-eTB" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1520" y="-658"/>
</scene>
</scenes>
<simulatedMetricsContainer key="defaultSimulatedMetrics">
<simulatedStatusBarMetrics key="statusBar"/>
<simulatedOrientationMetrics key="orientation"/>
<simulatedScreenMetrics key="destination" type="retina4"/>
</simulatedMetricsContainer>
<inferredMetricsTieBreakers>
<segue reference="vec-9D-8FU"/>
</inferredMetricsTieBreakers>
</document>

View file

@ -54,6 +54,7 @@ static NSString* const kAllTestsName = @"Run All tests";
// Update the view.
[self configureView];
[self.tableView reloadData];
}
if (self.masterPopoverController != nil) {
@ -64,6 +65,7 @@ static NSString* const kAllTestsName = @"Run All tests";
- (void)configureView
{
const char* suite = [self.detailItem UTF8String];
if( suite == NULL ) return;
NSString* nssuite = [NSString stringWithUTF8String:suite];
int count = liblinphone_tester_nb_tests(suite);
_tests = [[NSMutableArray alloc] initWithCapacity:count];

View file

@ -4873,6 +4873,7 @@
ONLY_ACTIVE_ARCH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
TARGETED_DEVICE_FAMILY = 1;
WRAPPER_EXTENSION = app;
};
name = Debug;
@ -4921,6 +4922,7 @@
);
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
TARGETED_DEVICE_FAMILY = 1;
VALIDATE_PRODUCT = YES;
WRAPPER_EXTENSION = app;
};
@ -4970,6 +4972,7 @@
);
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
TARGETED_DEVICE_FAMILY = 1;
VALIDATE_PRODUCT = YES;
WRAPPER_EXTENSION = app;
};
@ -5019,6 +5022,7 @@
);
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
TARGETED_DEVICE_FAMILY = 1;
VALIDATE_PRODUCT = YES;
WRAPPER_EXTENSION = app;
};